<include file="__THEME__/header" />


<!--日期-->
<script  type="text/javascript" src="../Pulbic/js/rcalendar.js" ></script>
<!--表单验证-->
<script type="text/javascript" src="../Public/js/jquery.validator.reg.js"></script>
<script type="text/javascript" src="../Public/js/jquery.corners.min.js"></script>
<link href="__PUBLIC__/js/form_check/type.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="../Public/js/register.js" ></script>
<link href="../../../../../public/themes/classic/layout.css" rel="stylesheet" type="text/css" />
<div class="content"><!-- 内容 begin  --> 
  <div class="main no_l">
    <div class="mainbox">
    <div class="mainbox_R">
    <div style="padding:10px;">
    <p>已有帐号？请直接登录</p>
    <p class="pb10 lineS_btm"><a href="javascript:void(0)" onclick="ui.quicklogin()" class="btn_w">登录</a></p>
    <p>你也可以通过站外账号进行登录！ </p>
    <p><img height="23" width="112" style="cursor: pointer;" onclick="go_url('http://api.t.sina.com.cn/oauth/authorize?oauth_token=a07efafcdd1857ac0b3aa35c6f62f67b&amp;oauth_callback=http%3A%2F%2Fbtest.joboto.com%2FPassport%2Fsina_login')" src="__THEME__/images/btn_sina.gif"></p>
</div>
    </div>
    <div class="mainbox_C">
    <div class="reg_box">
        <h2 class="cBlue"><strong>快速注册，加入XXXXX{$site_opts.site_name}</strong></h2>
        <p class="cGray" style="margin: 5px 10px 50px;">{$site_opts.site_name}XXXXX是帮助你与朋友、同事、同学、家人保持更紧密联系的真实社交平台，在这里你可以及时了解TA们的最新动态；结识更多的新朋友</p>
        <form action="{:U('home/Public/doRegister')}" method="post" id="regform" name="reg">
			<php>if(!empty($invite)) {</php>
            <input type="hidden" name="validationid" value="{$invite['validationid']}">
            <input type="hidden" name="validationcode" value="{$invite['code']}">
			<php>}</php>
          
            <ul class="form_list">
                <li class="form_li">
                    <div class="left alR" style="width:85px;">Email：</div>
                    <div class="left" style="width:260px;">
                      <input type="text" class="text35" style="width:250px;" value="{$invite['touser']}" name="email" require="true" datatype="email|ajax" url="{:U('home/Public/isEmailAvailable')}" msg="重要！请填有效邮箱地址，以收邮件完成注册|邮箱已被占用!"/>
                    </div>
                    <div class="left" style="width:420px;">
                        <div id="success_email" style="display:none;">
                            <span class="ico_cue_ok"></span>
                        </div>
                        <div class="error_email" style="position: relative;display:none;">
                                <span class="ico_cue_no"></span><span id="error_email"></span>
                        </div>
                    </div>
                   
                </li>
                <li class="form_li">
                    <div class="left alR" style="width:85px;">登录密码：</div>
                    <div class="left" style="width:260px;">
                      <input type="password" class="text35" style="width:250px;" name="password" id="password" require="true" value="" datatype="limit"  min="6" max="16" msg="密码由6-16个英文字母、数字或特殊字符组成"/>
                    </div>
                    <div class="left" style="width:420px;">
                        <div id="success_password"  style="display:none;">
                            <span class="ico_cue_ok"></span>
                        </div>
                        <div class="error_password" style="position: relative;display:none;">
                                <span class="ico_cue_no"></span>
                                <span id="error_password"></span>
                        </div>
                    </div>
                </li>



                <li class="form_li">
                    <div class="left alR" style="width:85px;">确认密码：</div>
                    <div class="left" style="width:260px;">
                      <input type="password" class="text35" style="width:250px;" name="repassword" require="true" value="" datatype="repeat|limit"  min="6" max="16" to="password" msg="两次输入的密码不一样，请重输！|密码由6-16个英文字母、数字或特殊字符组成"/>
                    </div>
                    <div class="left" style="width:420px;">
                        <div id="success_repassword"  style="display:none;">
                            <span class="ico_cue_ok"></span>
                        </div>
                        <div class="r error_repassword" style="position: relative;display:none;">
                                <span class="ico_cue_no"></span>
                                <span id="error_repassword"></span>
                      </div>
                  </div>
                </li>
           	  <eq name="register_verify_on" value="1">
                <li class="form_li">
                    <div class="left alR" style="width:85px;">验证码：</div>
                    <div class="left" style="width:260px;">
                        <input type="text" class="text35"  style="width: 60px; margin-right:5px; float:left;" name="verify" require="true" datatype="require|ajax" url="__URL__/checkVerify" msg="验证码不能为空|验证码输入有误，请重输！"/>
                        <div class="left">
                            <img src="__URL__/verify" id="verifyimg"/><a href="javascript:void(0);" onclick="changeverify()"><br />看不清 换一张</a>
                        </div>

                    </div>
                    <div class="left" style="width:420px;">
                        <div id="success_verify"  style="display:none;">
                            <span><img src="../Public/images/fzcg_dh[1].gif" /></span>
                        </div>
                        <div class="r error_verify" style="position: relative;display:none;">
                            <div>
                                <span><img src="../Public/images/th_ju[1].gif" /></span>
                                <div class="clue"><p id="error_verify"></p><span class="clue_btm"></span></div>
                            </div>
                        </div>
                    </div>
                </li>
                </eq>
                
                <li class="form_li">
                <div class="left alR" style="width:85px;">&nbsp;</div><div class="left" style="width:260px;">
                    <a href="javascript:void(0)" onclick="$('#regform').submit()" class="btn_reg"><strong>创建帐号</strong></a></div>
                </li>
            </ul>
        </form>
    </div>
    <div class="c"></div>
    </div>
    </div>
  <div class="clear"></div>
</div>
</div>
<include file="__THEME__/footer" />
